package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.dto.UserBriefDTO;
import com.example.springboot.dto.UserDTO;
import com.example.springboot.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IFollowService extends IService<Follow> {
    List<UserBriefDTO> findFollowee(Integer id);
    List<UserBriefDTO> findFollower(Integer id);
    Integer getFolloweeCount(Integer id);
    Integer getFollowerCount(Integer id);

    Result insertFollow(Follow follow);

    Result removeFollow(Follow follow);
}
